export default {
  path: "/users",
  redirect: "/users/list",
  meta: {
    icon: "ep:avatar",
    title: "用户管理",
    rank: 9
  },
  children: [
    //用户列表
    {
      path: "/users/list",
      name: "usersList",
      component: () => import("@/views/users/list.vue"),
      meta: {
        icon: "ep:menu",
        title: "用户列表"
      }
    },
    //添加用户
    {
      path: "/users/add",
      name: "userAdd",
      component: () => import("@/views/users/add.vue"),
      meta: {
        icon: "ep:plus",
        title: `新增用户`,
        hiddenTag: true
      }
    },
    //等级
    {
      path: "users/level",
      name: "Level",
      component: () => import("@/views/users/level.vue"),
      meta: {
        icon: "pajamas:level-up",
        title: "等级管理"
      }
    }
  ]
} satisfies RouteConfigsTable;
